.iPhoneX{
  display: inline-block;
  position: relative;
  width: 300px;
  height: 652px;
  padding: 24px;
  background: #fdfdfd;
  box-shadow: inset 0 0 11px 0 black;
  box-sizing: content-box !important;
  border-radius: 66px;
  &:before{
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    position: absolute;
    top: 5px;
    content: '';
    left: 5px;
    border-radius: 61px;
    background: black;
    z-index: 1;
  }
  .inner-shadow{
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    overflow: hidden;
    border-radius: 56px;
    -webkit-box-shadow: inset 0 0 15px 0 rgba(255,255,255,0.66);
    box-shadow: inset 0 0 15px 0 rgba(255,255,255,0.66);
    &:before{
      content: '';
      position: absolute;
      top: -8%;
      left: 0;
      z-index: 2;
      width: 100%;
      height: 116%;
      -webkit-box-shadow: inset 0 0 20px 0 #FFFFFF;
      box-shadow: inset 0 0 20px 0 #FFFFFF;
      border-radius: 200px / 112px;
    }
  }
  .overflow{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 66px;
    overflow: hidden;
    .shadow--tr {
      top: -20px;
      right: -20px;
    }
    .shadow--tl {
      top: -20px;
      left: -20px;
    }
    .shadow--br {
      bottom: -20px;
      right: -20px;
    }
    .shadow--bl {
      bottom: -20px;
      left: -20px;
    }
  }
  .shadow{
    border-radius: 100%;
    width: 90px;
    height: 90px;
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(255,255,255,0) 60%);
  }
  .notch{
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 181px;
    height: 24px;
    background: black;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    -webkit-transform: translate(-50%, 100%);
    -moz-transform: translate(-50%, 100%);
    -ms-transform: translate(-50%, 100%);
    -o-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
    &:before{
      background: radial-gradient(circle at bottom right, transparent 0, transparent 70%, black 70%, black 100%);
      right: -8px;
    }
    .camera{
      width: 6px;
      height: 6px;
      top: 9px;
      border-radius: 100%;
      position: absolute;
      left: 154px;
      background: #0d4d71;
    }
    .speaker{
      height: 6px;
      width: 60px;
      left: 50%;
      position: absolute;
      top: 9px;
      margin-left: -30px;
      background: #171818;
      border-radius: 6px;
    }
  }
  .skeleton-bar{
    position: absolute;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.1);
  }
  .up-bar{ top: 80px; }
  .under-bar{ bottom: 80px; }
  .button{
    position: absolute;
    width: 3px;
    background: #b5b5b5;
  }
  .volume{
    left: -3px;
    top: 116px;
    height: 32px;
    &:before{
      content: '';
      position: absolute;
      width: 3px;
      background: #b5b5b5;
      top: 62px;
      left: 0;
      height: 62px;
    }
    &:after{
      content: '';
      position: absolute;
      width: 3px;
      background: #b5b5b5;
      top: 140px;
      left: 0;
      height: 62px;
    }
  }
  .sleep{
    top: 200px;
    right: -3px;
    height: 96px;
  }
  .screen{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    border-radius: 40px;
    box-shadow: none;
    background: white;
    background: linear-gradient(to bottom, #ff268e 0%, #ff694f 100%);
    .navigation-bar-title{
      width: 100%;
      padding-top: 26px;
      height: 64px;
      background: #5077AA;
      color: #FFFFFF;
      font-size: 16px;
      line-height: 38px;
      text-align: center;
    }
    .screen-content{
      width: calc(100% + 19px);
      height: calc(100% - 64px);
      padding-right: 19px;
      padding-bottom: 40px;
      overflow-y: scroll;
      overflow-x: hidden;
      background-color: #EBEDEF;
    }
    &:before{
      content: '';
      position: absolute;
      top: -30%;
      z-index: -1;
      right: -70%;
      width: 140%;
      height: 100%;
      background: radial-gradient(ellipse at center, #3e4ff9 0%, rgba(62,79,249,0) 64%);
    }
    &:after{
      content: '';
      position: absolute;
      bottom: -50%;
      left: -30%;
      z-index: -1;
      width: 140%;
      height: 140%;
      background: radial-gradient(ellipse at center, #f7ede1 0%, rgba(247,237,225,0) 70%);
      -webkit-transform: rotate(30deg);
      -moz-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
      -o-transform: rotate(30deg);
      transform: rotate(30deg);
    }
  }
}
